package com.ruoyi.system.domain.vo.carInfo;

import com.ruoyi.system.domain.CarInfo;
import com.ruoyi.system.domain.ProductInfo;
import lombok.Data;

/**
 * @ClassName : ProductInfoListVo
 * @Description :
 * @Author :
 * @Date: 2023-01-25 20:54
 */
@Data
public class CarInfoListVo extends CarInfo {

    private String carYearStr;
    private String carStartTimeStr;
    private String carEndTimeStr;

    public String getCarYearStr() {
        return super.getCarYear().substring(0,4);
    }

    public String getCarStartTimeStr() {
        return super.getCarStartTime().substring(0,4);
    }

    public String getCarEndTimeStr() {
        return super.getCarEndTime().substring(0,4);
    }
}
